<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="fm" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>Spring Form标签</h1>
<fm:form action="fmadd" method="post" modelAttribute="user">
	用户名:<fm:input path="userName"/><fm:errors path="userName" /><br>
	密码:<fm:password path="userPassword"/><fm:errors path="userPassword" /><br>
        出生日期:<fm:input path="birthday"/><fm:errors path="birthday" /><br>
	电话号码:<fm:input path="phone"/><fm:errors path="phone" /><br>
	<input type="submit" value="提交"><br>
	<fm:errors />
</fm:form>
</body>
</html>